unit Compos;

interface

uses
  Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
  Dialogs, CadModelo, StdCtrls, Mask, DBCtrls, DB, Buttons, ExtCtrls,
  Grids, DBGrids, ComCtrls;

type
  TfrmCompos = class(TfrmCadModelo)
    EdtCodigo: TDBEdit;
    EdtDescricao: TDBEdit;
    DBEdit1: TDBEdit;
    DBEdit2: TDBEdit;
    DBEdit3: TDBEdit;
    DBEdit5: TDBEdit;
    DBEdit14: TDBEdit;
    DBEdit15: TDBEdit;
    edtUnidade: TDBEdit;
    Label1: TLabel;
    Label3: TLabel;
    Label4: TLabel;
    BitBtn1: TBitBtn;
    BitBtn2: TBitBtn;
    Label5: TLabel;
    BitBtn3: TBitBtn;
    Label6: TLabel;
    Label12: TLabel;
    Label18: TLabel;
    RadioGroup2: TRadioGroup;
    DBEdit8: TDBEdit;
    Panel5: TPanel;
    DBGrid2: TDBGrid;
    Panel6: TPanel;
    Panel7: TPanel;
    Panel8: TPanel;
    Panel9: TPanel;
    DBEdit4: TDBEdit;
    Label7: TLabel;
    DBEdit6: TDBEdit;
    DBEdit7: TDBEdit;
    BitBtn4: TBitBtn;
    Label8: TLabel;
    RadioGroup1: TRadioGroup;
    RadioGroup3: TRadioGroup;
    GroupBox2: TGroupBox;
    Label9: TLabel;
    Label10: TLabel;
    Label13: TLabel;
    DBEdit9: TDBEdit;
    DBEdit10: TDBEdit;
    DBEdit11: TDBEdit;
    DBEdit12: TDBEdit;
    Label14: TLabel;
    BitBtn5: TBitBtn;
    procedure FormClose(Sender: TObject; var Action: TCloseAction);
  private
    { Private declarations }
  public
    { Public declarations }
  end;

var
  frmCompos: TfrmCompos;

implementation

uses menu;

{$R *.dfm}

procedure TfrmCompos.FormClose(Sender: TObject; var Action: TCloseAction);
begin
  inherited;
  with frmmenu do
  begin
    mnuProduto.Enabled:= true;
//  btnProduto.enabled:= true;
  end;
end;

end.
